
<%@ page import="com.confidena.PersonGame" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'personGame.label', default: 'PersonGame')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-personGame" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-personGame" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list personGame">
			
				<g:if test="${personGameInstance?.taskPayDate}">
				<li class="fieldcontain">
					<span id="taskPayDate-label" class="property-label"><g:message code="personGame.taskPayDate.label" default="Task Pay Date" /></span>
					
						<span class="property-value" aria-labelledby="taskPayDate-label"><g:formatDate date="${personGameInstance?.taskPayDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.gameList}">
				<li class="fieldcontain">
					<span id="gameList-label" class="property-label"><g:message code="personGame.gameList.label" default="Game List" /></span>
					
						<span class="property-value" aria-labelledby="gameList-label"><g:link controller="gameList" action="show" id="${personGameInstance?.gameList?.id}">${personGameInstance?.gameList?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.gameListOut}">
				<li class="fieldcontain">
					<span id="gameListOut-label" class="property-label"><g:message code="personGame.gameListOut.label" default="Game List Out" /></span>
					
						<span class="property-value" aria-labelledby="gameListOut-label"><g:link controller="gameList" action="show" id="${personGameInstance?.gameListOut?.id}">${personGameInstance?.gameListOut?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.creationDate}">
				<li class="fieldcontain">
					<span id="creationDate-label" class="property-label"><g:message code="personGame.creationDate.label" default="Creation Date" /></span>
					
						<span class="property-value" aria-labelledby="creationDate-label"><g:formatDate date="${personGameInstance?.creationDate}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.creditBalance}">
				<li class="fieldcontain">
					<span id="creditBalance-label" class="property-label"><g:message code="personGame.creditBalance.label" default="Credit Balance" /></span>
					
						<span class="property-value" aria-labelledby="creditBalance-label"><g:fieldValue bean="${personGameInstance}" field="creditBalance"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.game}">
				<li class="fieldcontain">
					<span id="game-label" class="property-label"><g:message code="personGame.game.label" default="Game" /></span>
					
						<span class="property-value" aria-labelledby="game-label"><g:link controller="game" action="show" id="${personGameInstance?.game?.id}">${personGameInstance?.game?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.gameCircle}">
				<li class="fieldcontain">
					<span id="gameCircle-label" class="property-label"><g:message code="personGame.gameCircle.label" default="Game Circle" /></span>
					
						<g:each in="${personGameInstance.gameCircle}" var="g">
						<span class="property-value" aria-labelledby="gameCircle-label"><g:link controller="gameCircle" action="show" id="${g.id}">${g?.encodeAsHTML()}</g:link></span>
						</g:each>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.gameCircleOrigin}">
				<li class="fieldcontain">
					<span id="gameCircleOrigin-label" class="property-label"><g:message code="personGame.gameCircleOrigin.label" default="Game Circle Origin" /></span>
					
						<span class="property-value" aria-labelledby="gameCircleOrigin-label"><g:link controller="gameCircle" action="show" id="${personGameInstance?.gameCircleOrigin?.id}">${personGameInstance?.gameCircleOrigin?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.isBoot}">
				<li class="fieldcontain">
					<span id="isBoot-label" class="property-label"><g:message code="personGame.isBoot.label" default="Is Boot" /></span>
					
						<span class="property-value" aria-labelledby="isBoot-label"><g:formatBoolean boolean="${personGameInstance?.isBoot}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.lists}">
				<li class="fieldcontain">
					<span id="lists-label" class="property-label"><g:message code="personGame.lists.label" default="Lists" /></span>
					
						<g:each in="${personGameInstance.lists}" var="l">
						<span class="property-value" aria-labelledby="lists-label"><g:link controller="gameList" action="show" id="${l.id}">${l?.encodeAsHTML()}</g:link></span>
						</g:each>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.person}">
				<li class="fieldcontain">
					<span id="person-label" class="property-label"><g:message code="personGame.person.label" default="Person" /></span>
					
						<span class="property-value" aria-labelledby="person-label"><g:link controller="person" action="show" id="${personGameInstance?.person?.id}">${personGameInstance?.person?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.state}">
				<li class="fieldcontain">
					<span id="state-label" class="property-label"><g:message code="personGame.state.label" default="State" /></span>
					
						<span class="property-value" aria-labelledby="state-label"><g:fieldValue bean="${personGameInstance}" field="state"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${personGameInstance?.taskPay}">
				<li class="fieldcontain">
					<span id="taskPay-label" class="property-label"><g:message code="personGame.taskPay.label" default="Task Pay" /></span>
					
						<span class="property-value" aria-labelledby="taskPay-label"><g:formatBoolean boolean="${personGameInstance?.taskPay}" /></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${personGameInstance?.id}" />
					<g:link class="edit" action="edit" id="${personGameInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
